﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;

namespace AutoSort
{
    class Item
    {
        public string Pattern { get; set; }
        public Regex Expression { get; set; }
        public string TargetFolder { get; set; }

        public Item(string pattern, string targetFolder)
        {
            this.Pattern = pattern;
            this.Expression = new Regex(Pattern.ToLower());
            this.TargetFolder = targetFolder;
        }
    }
}
